package com.flida.echart.basic.account.service.impl;

import com.flida.echart.basic.account.dao.UserBillDao;
import com.flida.echart.basic.account.service.IUserBillService;
import com.flida.echart.basic.api.account.entity.UserBill;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userBillService")
public class UserBillServiceImpl implements IUserBillService {
    @Autowired
    private UserBillDao userBillDao;


    public int deleteByPrimaryKey(String id) {

        return userBillDao.deleteByPrimaryKey(id);
    }


    public int insert(UserBill record) {

        return userBillDao.insert(record);
    }


    public int insertSelective(UserBill record) {

        return userBillDao.insertSelective(record);
    }


    public UserBill selectByPrimaryKey(String id) {

        return userBillDao.selectByPrimaryKey(id);
    }


    public int updateByPrimaryKeySelective(UserBill record) {

        return userBillDao.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKey(UserBill record) {
        return userBillDao.updateByPrimaryKey(record);
    }

}
